package com.ll.studentservice.service;

import com.ll.studentservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.studentservice.entity.vo.LoginVo;
import com.ll.studentservice.entity.vo.RegisterVo;

/**
 * <p>
 * 教师 服务类
 * </p>
 *
 * @author ll
 * @since 2020-11-30
 */
public interface EduTeacherService extends IService<EduTeacher> {

    //教师注册
    boolean register(RegisterVo registerVo);

    //教师登录 登录成功,返回token值,使用jwt生成
    String login(LoginVo loginVo);
}
